/*
 * IflowMaterial.h
 * to compute inflow parameters
 *
 *  Created on: Jul 31, 2019
 *      Author: liuxiao
 */


#pragma once

#include "Material.h"
#include "libmesh/meshfree_interpolation.h"
using std::string;
using std::vector;

class Function;

class IflowMaterial : public Material
{
public:
	IflowMaterial(const InputParameters & parameters);

protected:
  virtual void computeProperties();

private:

  MaterialProperty<Real> & _inflow_direction_x;
  MaterialProperty<Real> & _inflow_direction_y;
  MaterialProperty<Real> & _inflow_direction_z;
  const vector<Real> & _flowdirection_vector;

};

template<>
InputParameters validParams<IflowMaterial>();

